home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
476-500
/
disk_500
/
wiconify
/
wiconify-source.lzh
/
Source
/
wExtern.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-19
|
2KB
|
87 lines
/*
* WICONIFY A utility that allows you to iconify any Intuition window
* on any screen, and to open WB windows on any screen.
*
* wExtern.h Common variables used by more than one module.
*
* Copyright 1990 by Davide P. Cervone, all rights reserved.
* You may use this code, provided this copyright notice is kept intact.
*/
/*
* Default icon size
*/
#define ICONWIDTH 41
#define ICONHEIGHT 18
#define ICONDEPTH 2
#define ICONWORDS 3
/*
* The library vectors
*/
extern struct IntuitionBase *IntuitionBase;
extern struct GfxBase *GfxBase;
extern struct LayersBase *LayersBase;
extern struct SysBase *SysBase;
extern struct DOSBase *DOSBase;
/*
* See wExtern.c for descriptions...
*/
extern APTR IconTask;
extern UBYTE EndSigBit,CloseSigBit;
extern ULONG EndSignal,CloseSignal;
extern WSCREEN *FirstScreen;
extern WSCREEN *WBScreen;
extern WSCREEN *RealWB;
extern struct MsgPort *wUserPort,*wIconPort;
extern char *wIconifyTitle;
extern struct Menu wMenu[];
extern struct Window *ActiveWindow;
extern USHORT IconData[ICONDEPTH][ICONHEIGHT*ICONWORDS];
extern USHORT ScreenIconData[ICONDEPTH][ICONHEIGHT*ICONWORDS];
extern struct Image DefaultIcon;
extern struct Image DefaultScreenIcon;
extern char *HiResCLICommand;
extern char *LoResCLICommand;
extern long StackSize;
extern struct Image *DefaultImage;
extern struct Image *DefaultSelect;
extern struct Image *DefaultMask;
extern struct Image *DefaultScreenImage;
extern struct Image *DefaultScreenSelect;
extern struct Image *DefaultScreenMask;
extern ULONG DefaultFlags;
extern ULONG DefaultScreenFlags;
extern struct Ignore *IgnoreScreen;
extern UBYTE IconifyKey,ActivateKey;
extern UWORD IconifyQuals,IconifyDisquals,IconifyChange;
extern UWORD ActivateQuals;
extern UWORD Colors[32];
/*
* Routines that return non-integer values
*/
extern struct Screen *OpenScreen();
extern struct Window *aOldOpenWindow();
extern void aOldCloseWindow(),aOldCloseScreen();
extern APTR FindTask();
extern ULONG Wait();
extern WSCREEN *FindScreen();
extern WBWINDOW *FindWindow();
extern WICONREF *FindIcon();
extern struct MenuItem *ItemAddress();
extern UBYTE AllocSignal();
extern WORD *AllocRaster();
extern void SendIconMessage();
extern void SendIntuiMessage();
extern WSCREEN *DoNewScreen();
extern WICONREF *DoAddIcon();